package test;

public class NewExample {
	public static void main(String[] args) {
		try {
			ls();
			System.out.println("M1");
		} catch (ArrayIndexOutOfBoundsException e) {
			System.out.println("M2");
		}finally{
			System.out.println("M3");
			}
		System.out.println("M4");
		}
	
	public static void ls(){
		throw new IndexOutOfBoundsException();
		                  
	} 
}